package com.controller;


import com.beans.Userinfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 李琦 on 2021/10/20.
 * @version java version "1.8.0_301" 2021-04-20
 */
public interface UserinfoInterface extends JpaRepository<Userinfo,Integer> {
    @Transactional
    int deleteUserinfoByName(String name);//自定义删除方法



}
